import request_app from '../request_app.js'
// 微信登录
export const authorizelogin = (params) => {
  return request_app('wechat/authorize/login', params, 'get');
};
// 获取首页导航
export const merCategory = (params) => {
  return request_app('localfife/merCategory', params, 'get');
};
// 获取首页商家
export const getMerList = (params) => {
  return request_app('localfife/getMerList', params, 'get');
};
// 获取首页商家2
export const getList = (params) => {
  return request_app('localfife/getList', params, 'get');
};

export const activitylist = (params) => {
  return request_app('lottery/activity/list', params, 'get');
};
export const prizelist = (params) => {
  return request_app('lottery/prize/list', params, 'get');
};
export const participate = (params) => {
  return request_app('lottery/participate', params, 'post');
};
/* 中奖记录 */
export const participateList = (params) => {
  return request_app('lottery/participate/list', params, 'get');
};

export const notBindingPhone = (params) => {
  return request_app('wechat/register/binding/notBindingPhone', params, 'post');
};
